package com.googlecode.npgame.screens;

/**
 * @author Josh (joshbruning)
 */
public class StartScreen extends MenuScreen {
  public StartScreen() {
    super();
    this.menuOptions.add(new ArcadeOption());
    this.menuOptions.add(new EnduranceOption());
    this.menuOptions.add(new CustomOption());
    this.menuOptions.add(new MainMenuOption());
  }

  private static class ArcadeOption extends MenuOption {

    public ArcadeOption() {
      super("Arcade");
    }

    @Override
    public Screen select() {
      return new GameScreen();
    }
  }

  private static class EnduranceOption extends MenuOption {

    public EnduranceOption() {
      super("Endurance");
    }

    @Override
    public Screen select() {
      return new GameScreen();
    }
  }

  private static class CustomOption extends MenuOption {

    public CustomOption() {
      super("Custom");
    }

    @Override
    public Screen select() {
      return new CustomScreen();
    }
  }

  private static class MainMenuOption extends MenuOption {

    public MainMenuOption() {
      super("Main Menu");
    }

    @Override
    public Screen select() {
      return new MainScreen();
    }
  }
}
